				<div class="section">
                <script type="text/javascript">
					$(document).ready(function(e) {
                        $("#destination").change(function(){
							$id  = $(this).val();
							if($id == 0){ alert("Please select a region"); return false;}
							$.ajax({
								"url"   : "<?php echo base_url();?>admin/destination/listregion",
								"type"  : "post",
								"data"  : "id="+$id,
								"acsync": false,
								success: function(result){
									$("#results").html(result)
								}
							});
						});
						$("#ok").click(function(){
							if($("input.region").is(":checked")){
								return true;
							}else{
								alert("Please select a region"); return false;	
							}
						});
                    });
				</script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Manage destinatons</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						
						<div class="section_content_inner minheight">
                        	<div class="table_tabs_menu">
                            <ul class="table_tabs">
                            	<li><a href="#" name="tab1" class="selected"><span><span>Destinations</span></span></a></li>								
							</ul>
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->
							</div>
							<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper">
								<div class="table_wrapper_inner" id="tab1">
                                <form action="" method="post">
								<table cellpadding="0" cellspacing="0" width="568" style="margin:10px 0px">
									<tbody><tr>
									  <th width="216">Select a destination</th>
									  <th width="350">
                                        <select name="destination" id="destination">
                                        	<option value="0">Select a destination</option>
                                            <?php foreach($listregion as $items){ ?>
                                            <option value="<?php echo $items['region_id']; ?>"><?php echo $items['region_title']; ?></option>
                                            <?php } ?>
                                        </select>
                                      </th>
									</tr>
								</tbody></table>
                                <div id="results" style="margin-bottom:7px"></div>
                                <input type="submit" name="ok" id="ok" value="Add now" />
                           	    </form>
							</div>
                            <div class="table_wrapper_inner" id="tab2">
                            </div>
						</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<!--[if !IE]>start pagination<![endif]-->
							<div class="pagination_wrapper">
							<span class="pagination_top"></span>
							<div class="pagination_middle">
							<div class="pagination">
							</div>
							</div>
							<span class="pagination_bottom"></span>
							</div>
						<!--[if !IE]>end pagination<![endif]-->
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>